var specialtyModule=new Object({
    //加载优势
    loadSpecialty : function(){
        $.ajax({
            url : '/front/querySpecialtyByNomal',
            type : 'post',
            dataType : 'json'
        }).done(function(data){
            if(data){
                $('#fh5co-course-categories .specialty').empty();
                for(var i=0;i<data.length;i++){
                    var div_html='<div class="col-md-3 col-sm-6 text-center animate-box fadeInUp animated-fast">'+
                                    '<div class="services">'+
                                        '<span class="icon">'+
                                            '<i class="'+data[i].icon+'"></i>'+
                                        '</span>'+
                                        '<div class="desc">'+
                                            '<h3><a href="#">'+data[i].title+'</a></h3>'+
                                            '<p>'+data[i].description+'</p>'+
                                        '</div>'+
                                    '</div>'+
                                 '</div>';
                    $('#fh5co-course-categories .specialty').append(div_html);
                }
            }
        })
    }
});